package com.hdfs.client.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Data
@Configuration
@AutoConfigureBefore(HDFSConfig.class)
@ConfigurationProperties(prefix = "hdfs")
public class HDFSProperties {
    /**
     * hdfs 连接
     */
    private String hdfsPath;
    /**
     * hdfs 名称
     */
    private String hdfsName;

    /**
     * hdfs 读取字节数
     */
    private Long bufferSize;
}
